package org.snail.jobHierarchy.service;


import org.snail.exception.JobLevelException;
import org.snail.jobHierarchy.bean.JobDO;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface JobsService {

    /**
     * 岗位层级价格 文件保存
     * @param file     文件
     * @param request
     */
    public void saveJobPrice(CommonsMultipartFile file, HttpServletRequest request) throws JobLevelException;


    /**
     * 岗位层级价格查询
     * @return
     */
    public List<JobDO> findAllJobPrice();

}